//
//  ZZQNearLiveCell.m
//  zzqKanBoKe
//
//  Created by ben on 17/2/20.
//  Copyright © 2017年 张增强. All rights reserved.
//

#import "ZZQNearLiveCell.h"

@interface ZZQNearLiveCell ()

@property (weak, nonatomic) IBOutlet UIImageView *headerView;

@property (weak, nonatomic) IBOutlet UILabel *distanceLabel;

@end

@implementation ZZQNearLiveCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setLive:(ZZQLive *)live{
    _live = live;
    [self.headerView downloadImage:live.creator.portrait placeholder:@"default_room"];
    self.distanceLabel.text = live.distance;
}

@end
